﻿@model List<Table.Group>
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>
<li>@Html.ActionLink("Search", actionName: "Search", controllerName: "Home")</li>
<li>@Html.ActionLink("Order", actionName: "Index", controllerName: "Order")</li>
<table>
    <thead>
        <tr>
            <th>GroupID</th>
            <th>ParentID</th>
            <th>Unit</th>
            <th>Image</th>
            <th>FullName</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr align="center">
                <td>@item.GroupID</td>
                <td>@item.ParentID</td>
                <td>@item.Unit</td>
                <td>@item.Image</td>
                <td>@item.FullName</td>
            </tr>
        }
    </tbody>

</table>

